<script type="text/javascript">
	$("body").css("background-color","rgb(245,245,245)");
</script>
<div class="row">
	<div class="row">
		<div class="col-md-2" style="
		<?php
			if($_GET['pd']=="zh"){
				echo "border-bottom:solid 2px rgb(255,145,1);color:rgb(255,145,1);font-size:25px";
			}else{
				echo "border-bottom:solid 1px rgb(200,200,220);color:rbg(200,200,220);font-size:25px";
			}
		?>
		" id="zh">
			综合
		</div>
		<div class="col-md-2" style="
		<?php
			if($_GET['pd']=="gz"){
				echo "border-bottom:solid 2px rgb(255,145,1);color:rgb(255,145,1);font-size:25px";
			}else{
				echo "border-bottom:solid 1px rgb(200,200,220);color:rbg(200,200,220);font-size:25px";
			}
		?>
		" id="gz">
			工作.感情
		</div>
		<div class="col-md-2" style="
		<?php
			if($_GET['pd']=="dm"){
				echo "border-bottom:solid 2px rgb(255,145,1);color:rgb(255,145,1);font-size:25px";
			}else{
				echo "border-bottom:solid 1px rgb(200,200,220);color:rbg(200,200,220);font-size:25px";
			}
		?>
		" id="dm">
			动漫文化
		</div>
		<div class="col-md-2" style="
		<?php
			if($_GET['pd']=="mh"){
				echo "border-bottom:solid 2px rgb(255,145,1);color:rgb(255,145,1);font-size:25px";
			}else{
				echo "border-bottom:solid 1px rgb(200,200,220);color:rbg(200,200,220);font-size:25px";
			}
		?>
		" id="mh">
			漫画.轻小说
		</div>
		<div class="col-md-2" style="
		<?php
			if($_GET['pd']=="yx"){
				echo "border-bottom:solid 2px rgb(255,145,1);color:rgb(255,145,1);font-size:25px";
			}else{
				echo "border-bottom:solid 1px rgb(200,200,220);color:rbg(200,200,220);font-size:25px";
			}
		?>
		" id="yx">
			游戏
		</div>
	</div>
	<div class="row">
		<volist name="post" id="po">
			<div class="row">
				<a href="/index.php/Index/post/pid/{$po['pid']}">
				<div class="col-sm-1 mo" style="background-color:rgb(100,200,100);margin:40px">
					<span style="color:rgb(255,255,255)"><b>{$po[renum]}</b></span>
					<p style="color:rgb(255,255,255)"  class="text-right">评论</p>
				</div>
				</a>
				<div class="col-sm-10">
					<p>
						<a href="/index.php/Index/post/pid/{$po['pid']}"><h4>{$po['title']}</h4></a>
					</p>
					<p style="color:rgb(175,175,175)" >
						<a class="text-muted" href="/index.php/Index/user/uid/{$po['uid']}">{$po['uid']|uidname}</a>/发布于{$po['time']|date="Y-m-d H:i",###}/{$po['renum']}条评论,{$po['view']}围观
					</p>
					<p>
						<small>{$po['miao']}</small>
					</p>
					<p>
						{$po['tag']|posttag}
					</p>
					
				</div>
			</div>
			<hr>
		</volist>
	</div>

	
	<div class="row">
		<p>
			{$page}
		</p>
	</div>
</div>
<script type="text/javascript">
	$("#zh").click(function(){
		location.href="/index.php/Index/index/pd/zh";
	})
	$("#gz").click(function(){
		location.href="/index.php/Index/index/pd/gz";
	})
	$("#dm").click(function(){
		location.href="/index.php/Index/index/pd/dm";
	})
	$("#mh").click(function(){
		location.href="/index.php/Index/index/pd/mh";
	})
	$("#yx").click(function(){
		location.href="/index.php/Index/index/pd/yx";
	})
	$(".mo").mouseover(function(){	
		$(this).css("background-color","rgb(0,136,204)");
	})
	$(".mo").mouseout(function(){
		$(this).css("background-color","rgb(100,200,100)");
	})	

</script>